package solid.lsp;

public class Square extends Rectangle {

    public Square(int length) {
        this.length = length;
    }

    @Override
    public int area() {
        return length * length;
    }

}
